home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18105 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 63 73 | 2e 74 75 2d 62 65 72 6c |Path: cs|.tu-berl|
|00000010| 69 6e 2e 64 65 21 6e 65 | 77 73 0a 46 72 6f 6d 3a |in.de!ne|ws.From:|
|00000020| 20 52 6f 6d 61 6e 20 4c | 65 63 68 74 63 68 69 6e | Roman L|echtchin|
|00000030| 73 6b 79 20 3c 77 6f 6c | 66 72 6f 40 63 73 2e 74 |sky <wol|fro@cs.t|
|00000040| 75 2d 62 65 72 6c 69 6e | 2e 64 65 3e 0a 4e 65 77 |u-berlin|.de>.New|
|00000050| 73 67 72 6f 75 70 73 3a | 20 63 6f 6d 70 2e 6c 61 |sgroups:| comp.la|
|00000060| 6e 67 2e 63 2b 2b 0a 53 | 75 62 6a 65 63 74 3a 20 |ng.c++.S|ubject: |
|00000070| 52 65 3a 20 65 78 74 65 | 6e 64 69 6e 67 20 63 2b |Re: exte|nding c+|
|00000080| 2b 20 74 6f 20 69 6e 63 | 6c 75 64 65 20 74 79 70 |+ to inc|lude typ|
|00000090| 65 20 62 6f 6f 6c 0a 44 | 61 74 65 3a 20 46 72 69 |e bool.D|ate: Fri|
|000000a0| 2c 20 31 39 20 41 70 72 | 20 31 39 39 36 20 30 30 |, 19 Apr| 1996 00|
|000000b0| 3a 33 38 3a 34 30 20 2b | 30 32 30 30 0a 4f 72 67 |:38:40 +|0200.Org|
|000000c0| 61 6e 69 7a 61 74 69 6f | 6e 3a 20 54 65 63 68 6e |anizatio|n: Techn|
|000000d0| 69 63 61 6c 20 55 6e 69 | 76 65 72 73 69 74 79 20 |ical Uni|versity |
|000000e0| 6f 66 20 42 65 72 6c 69 | 6e 0a 4d 65 73 73 61 67 |of Berli|n.Messag|
|000000f0| 65 2d 49 44 3a 20 3c 33 | 31 37 36 43 34 37 30 2e |e-ID: <3|176C470.|
|00000100| 32 36 34 37 40 63 73 2e | 74 75 2d 62 65 72 6c 69 |2647@cs.|tu-berli|
|00000110| 6e 2e 64 65 3e 0a 52 65 | 66 65 72 65 6e 63 65 73 |n.de>.Re|ferences|
|00000120| 3a 20 3c 62 64 73 69 6c | 76 65 72 2e 38 32 39 36 |: <bdsil|ver.8296|
|00000130| 39 38 34 35 34 40 65 78 | 74 72 6f 3e 0a 4e 4e 54 |98454@ex|tro>.NNT|
|00000140| 50 2d 50 6f 73 74 69 6e | 67 2d 48 6f 73 74 3a 20 |P-Postin|g-Host: |
|00000150| 31 33 30 2e 31 34 39 2e | 31 37 2e 32 33 30 0a 4d |130.149.|17.230.M|
|00000160| 69 6d 65 2d 56 65 72 73 | 69 6f 6e 3a 20 31 2e 30 |ime-Vers|ion: 1.0|
|00000170| 0a 43 6f 6e 74 65 6e 74 | 2d 54 79 70 65 3a 20 74 |.Content|-Type: t|
|00000180| 65 78 74 2f 70 6c 61 69 | 6e 3b 20 63 68 61 72 73 |ext/plai|n; chars|
|00000190| 65 74 3d 75 73 2d 61 73 | 63 69 69 0a 43 6f 6e 74 |et=us-as|cii.Cont|
|000001a0| 65 6e 74 2d 54 72 61 6e | 73 66 65 72 2d 45 6e 63 |ent-Tran|sfer-Enc|
|000001b0| 6f 64 69 6e 67 3a 20 37 | 62 69 74 0a 58 2d 4d 61 |oding: 7|bit.X-Ma|
|000001c0| 69 6c 65 72 3a 20 4d 6f | 7a 69 6c 6c 61 20 32 2e |iler: Mo|zilla 2.|
|000001d0| 30 20 28 57 69 6e 39 35 | 3b 20 49 29 0a 54 6f 3a |0 (Win95|; I).To:|
|000001e0| 20 42 72 65 74 74 20 44 | 61 76 69 64 20 53 69 6c | Brett D|avid Sil|
|000001f0| 76 65 72 6d 61 6e 20 3c | 62 64 73 69 6c 76 65 72 |verman <|bdsilver|
|00000200| 40 65 78 74 72 6f 2e 75 | 63 63 2e 73 75 2e 4f 5a |@extro.u|cc.su.OZ|
|00000210| 2e 41 55 3e 0a 0a 42 72 | 65 74 74 20 44 61 76 69 |.AU>..Br|ett Davi|
|00000220| 64 20 53 69 6c 76 65 72 | 6d 61 6e 20 77 72 6f 74 |d Silver|man wrot|
|00000230| 65 3a 0a 3e 20 0a 3e 20 | 20 49 20 77 61 6e 74 20 |e:.> .> | I want |
|00000240| 74 6f 20 63 6f 6d 70 69 | 6c 65 20 77 72 69 74 74 |to compi|le writt|
|00000250| 65 6e 20 66 6f 72 20 42 | 43 35 2c 20 69 6e 20 42 |en for B|C5, in B|
|00000260| 43 34 35 2c 20 68 6f 77 | 65 76 65 72 20 74 68 69 |C45, how|ever thi|
|00000270| 73 0a 3e 20 71 75 65 73 | 74 69 6f 6e 20 61 70 70 |s.> ques|tion app|
|00000280| 6c 69 65 73 20 74 6f 20 | 61 6c 6c 2e 0a 3e 20 42 |lies to |all..> B|
|00000290| 43 35 20 68 61 73 2c 20 | 61 6c 6f 6e 67 20 77 69 |C5 has, |along wi|
|000002a0| 74 68 20 73 74 61 6e 64 | 61 72 64 20 74 79 70 65 |th stand|ard type|
|000002b0| 73 2c 20 61 20 6e 65 77 | 20 74 79 70 65 20 63 61 |s, a new| type ca|
|000002c0| 6c 6c 65 64 20 62 6f 6f | 6c 2c 20 77 69 74 68 0a |lled boo|l, with.|
|000002d0| 3e 20 61 6c 6c 20 74 68 | 65 20 73 74 61 6e 64 61 |> all th|e standa|
|000002e0| 72 74 20 70 72 6f 70 65 | 72 74 69 65 73 20 79 6f |rt prope|rties yo|
|000002f0| 75 27 64 20 65 78 70 65 | 63 74 20 62 6f 6f 6c 20 |u'd expe|ct bool |
|00000300| 74 6f 20 68 61 76 65 21 | 0a 3e 20 49 74 27 73 20 |to have!|.> It's |
|00000310| 75 73 65 64 20 65 78 74 | 65 6e 73 69 76 65 6c 79 |used ext|ensively|
|00000320| 20 69 6e 20 74 68 65 20 | 73 6f 75 72 63 65 20 49 | in the |source I|
|00000330| 20 77 69 73 68 20 74 6f | 20 63 6f 6d 70 69 6c 65 | wish to| compile|
|00000340| 2c 20 68 6f 77 65 76 65 | 72 0a 3e 20 42 43 34 35 |, howeve|r.> BC45|
|00000350| 20 68 61 73 20 6e 6f 20 | 74 79 70 65 20 62 6f 6f | has no |type boo|
|00000360| 6c 2e 0a 3e 20 54 68 65 | 20 71 75 65 73 74 69 6f |l..> The| questio|
|00000370| 6e 3a 20 49 73 20 69 74 | 20 70 6f 73 73 69 62 6c |n: Is it| possibl|
|00000380| 65 20 74 6f 20 63 72 65 | 61 74 65 20 61 20 63 6c |e to cre|ate a cl|
|00000390| 61 73 73 20 62 6f 6f 6c | 2c 20 69 6e 20 73 75 63 |ass bool|, in suc|
|000003a0| 68 20 61 20 77 61 79 0a | 3e 20 74 68 61 74 20 69 |h a way.|> that i|
|000003b0| 74 20 6c 6f 6f 6b 73 2c | 20 73 6d 65 6c 6c 73 2c |t looks,| smells,|
|000003c0| 20 66 65 65 6c 73 2c 20 | 74 61 6c 6b 73 2c 20 65 | feels, |talks, e|
|000003d0| 74 63 20 6c 69 6b 65 20 | 74 68 65 20 22 72 65 61 |tc like |the "rea|
|000003e0| 6c 22 20 62 6f 6f 6c 3f | 0a 3e 20 54 6f 20 74 68 |l" bool?|.> To th|
|000003f0| 65 20 65 78 74 65 6e 74 | 20 74 68 61 74 20 49 20 |e extent| that I |
|00000400| 63 61 6e 20 63 72 65 61 | 74 65 20 74 68 69 73 20 |can crea|te this |
|00000410| 63 6c 61 73 73 20 73 6f | 20 74 68 61 74 20 49 20 |class so| that I |
|00000420| 61 6d 20 67 75 61 72 61 | 6e 74 65 65 64 20 74 68 |am guara|nteed th|
|00000430| 61 74 0a 3e 20 74 68 65 | 20 73 6f 75 72 63 65 20 |at.> the| source |
|00000440| 77 69 6c 6c 20 77 6f 72 | 6b 2c 20 65 76 65 6e 20 |will wor|k, even |
|00000450| 74 68 6f 75 67 68 20 49 | 20 63 61 6e 27 74 20 73 |though I| can't s|
|00000460| 65 65 20 74 68 65 20 73 | 6f 75 72 63 65 3f 0a 3e |ee the s|ource?.>|
|00000470| 20 49 66 20 73 6f 2c 20 | 63 6f 75 6c 64 20 79 6f | If so, |could yo|
|00000480| 75 20 69 6e 63 6c 75 64 | 65 20 61 20 66 72 61 6d |u includ|e a fram|
|00000490| 65 20 77 6f 72 6b 20 74 | 6f 20 73 74 61 72 74 20 |e work t|o start |
|000004a0| 6d 65 20 6f 6e 20 6d 79 | 20 74 72 61 76 65 6c 73 |me on my| travels|
|000004b0| 2e 0a 3e 20 54 68 61 6e | 6b 73 20 69 6e 20 61 64 |..> Than|ks in ad|
|000004c0| 76 61 6e 63 65 64 0a 0a | 49 20 74 68 69 6e 6b 20 |vanced..|I think |
|000004d0| 6f 6e 65 20 6f 66 20 74 | 68 65 20 66 6f 6c 6c 6f |one of t|he follo|
|000004e0| 77 69 6e 67 20 73 68 6f | 75 6c 64 20 64 6f 20 28 |wing sho|uld do (|
|000004f0| 20 64 65 70 65 6e 64 69 | 6e 67 20 6f 6e 20 74 68 | dependi|ng on th|
|00000500| 65 20 63 6f 6d 70 69 6c | 65 72 20 29 3a 0a 0a 65 |e compil|er ):..e|
|00000510| 69 74 68 65 72 3a 0a 0a | 65 6e 75 6d 20 62 6f 6f |ither:..|enum boo|
|00000520| 6c 20 7b 20 66 61 6c 73 | 65 2c 20 74 72 75 65 20 |l { fals|e, true |
|00000530| 7d 3b 0a 0a 6f 72 3a 0a | 0a 65 6e 75 6d 20 7b 20 |};..or:.|.enum { |
|00000540| 66 61 6c 73 65 2c 20 74 | 72 75 65 20 7d 3b 0a 74 |false, t|rue };.t|
|00000550| 79 70 65 64 65 66 20 69 | 6e 74 20 62 6f 6f 6c 3b |ypedef i|nt bool;|
|00000560| 0a 0a 42 79 65 0a 0a 52 | 6f 6d 61 6e 0a |..Bye..R|oman. |
+--------+-------------------------+-------------------------+--------+--------+